﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="WinApp_ResizeImage.MainWindow"
        Title="Visual Asset Creator" WindowStyle="ToolWindow" Height="175" Width="527" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight">
    <Grid Background="Gray">
        <Grid.Effect>
            <DropShadowEffect/>
        </Grid.Effect>
        <StackPanel Margin="0,0,0.4,-0.2" Orientation="Vertical">
            <StackPanel Orientation="Horizontal">
                <TextBox x:Name="logo" Text="Filename for the logo" Width="450" />
                <Button x:Name="fileDialog" Click="fileDialog_Click" Content="..." Width="45" Margin="10,0,0,0"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <TextBox x:Name="wide" Text="Filename for wide logo" Width="450"/>
                <Button x:Name="fileDialogWide" Click="fileDialogWide_Click" Content="..." Width="45" Margin="10,0,0,0"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Visibility="Collapsed">
                <Image
					HorizontalAlignment="Left"
					Height="200"
					Margin="0,10,0,0"
					VerticalAlignment="Top"
					Width="200" x:Name="image"
            
					Loaded="Image_Loaded" Visibility="Collapsed"/>
                <Image x:Name="wimage" Height="200" Width="310"/>
            </StackPanel>
            <Border d:LayoutOverrides="Width">
                <StackPanel Orientation="Horizontal" Height="66">
                    <GroupBox Margin="0">
                        <StackPanel Orientation="Horizontal">
                            <RadioButton GroupName="Type" x:Name="squareRadio" IsChecked="True" Content="Windows Phone" Margin="15,0"/>
                            <RadioButton GroupName="Type" x:Name="wideRadio" Content="Windows"/>
                        </StackPanel>
                    </GroupBox>
                    <Button Content="Resize" x:Name="resize_BTN" Click="resize_BTN_Click" Height="50" VerticalAlignment="Bottom" Margin="137,0,0,0" Width="113.257"/>
                </StackPanel>
            </Border>
            <TextBlock x:Name="state" Height="25"  />
        </StackPanel>

    </Grid>
</Window>
